﻿using System;
using System.Runtime.InteropServices;

namespace BioHlpLib
{
    public class BioHlpNativeInterface
    {
        public static UInt32 WINBIO_FP_TOO_HIGH          = 1;
        public static UInt32 WINBIO_FP_TOO_LOW           = 2;
        public static UInt32 WINBIO_FP_TOO_LEFT          = 3;
        public static UInt32 WINBIO_FP_TOO_RIGHT         = 4;
        public static UInt32 WINBIO_FP_TOO_FAST          = 5;
        public static UInt32 WINBIO_FP_TOO_SLOW          = 6;
        public static UInt32 WINBIO_FP_POOR_QUALITY      = 7;
        public static UInt32 WINBIO_FP_TOO_SKEWED        = 8;
        public static UInt32 WINBIO_FP_TOO_SHORT         = 9;
        public static UInt32 WINBIO_FP_MERGE_FAILURE     = 10;

        [DllImport("BHDll.dll")]
        public static extern Int32 BHIdentifyAsLoggedOnUser(
            ref bool pfIsLoggedOnUser,
            ref UInt32 pulRejectDetail);
    }
}
